package com.ocom.mjrecode.feign;

import com.ocom.common.constant.HumanServiceUrl;
import com.ocom.common.resp.Result;
import com.ocom.common.vo.human.UserInfoYkmVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient(value = "human")
public interface HumanClientService {

    @GetMapping(HumanServiceUrl.URL_GetPersonInfo)
    public Result<UserInfoYkmVo> GetPersonInfo(@RequestParam("comId") Long comId, @RequestParam("pId") Long pId);
}
